<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">

<%@include file="/WEB-INF/include-head.jsp" %>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">

    <%@include file="/WEB-INF/include-nav.jsp" %>

</nav>

<script type="application/javascript">
    $(function () {
        $("#modify").click(function () {
            layer.msg("修改成功");
        });
    })
</script>

<div class="container-fluid">

    <%@include file="/WEB-INF/include-sidebar.jsp" %>

    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <ol class="breadcrumb">
            <li><a href="admin/to/main/page.html">首页</a></li>
            <li><a href="admin/get/page.html">数据列表</a></li>
            <li class="active">修改</li>
        </ol>
        <div class="panel panel-default">
            <div class="panel-heading">表单数据
                <div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i
                        class="glyphicon glyphicon-question-sign"></i></div>
            </div>
            <div class="panel-body">
                <form role="form" action="admin/edit.html" method="post">
                    <div class="form-group">
                        <label>登陆账号</label>
                        <input type="text" class="form-control" name="loginAcct"
                               value="${sessionScope['admin'].loginAcct}">
                    </div>
                    <div class="form-group">
                        <label>用户名称</label>
                        <input type="text" class="form-control" name="userName"
                               value="${sessionScope['admin'].userName}">
                    </div>
                    <div class="form-group">
                        <label>邮箱地址</label>
                        <input type="email" class="form-control" name="email" value="${sessionScope['admin'].email}">
                    </div>
                    <button type="submit" id="modify" class="btn btn-success"><i class="glyphicon glyphicon-edit"></i> 修改</button>
                    <button type="reset" id="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                </form>
            </div>
        </div>
        <div style="font-weight: 700;font-size:32px;color: red">不修改密码，涉及到取出、存储加密核对，过于繁琐。同时没有查询按钮</div>
    </div>
</div>

</body>
</html>